package com.travel.document.dao;

import java.util.List;

import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.Query;
import org.springframework.stereotype.Repository;

import com.travel.document.entity.Document;
import com.travel.goods.entity.Goods;

/**
 * @classDesc: 功能描述:()
 * @author:<a href="leeue@foxmail.com">李月</a>
 * @Version:v1.0
 * @createTime:2019年3月20日 上午11:54:07
 */
@Repository
public interface DocumentDao extends JpaRepository<Document, Long> {

	@Query("SELECT d.path FROM Document d where d.objId =:objId")
	List<String> findByObjId(Long objId);
}
